Method for initializing and operating a battery management system

ABSTRACT

A method for initializing and operating a battery management system is disclosed. The method comprises the following steps. First, start the battery management system. Next, read battery variables which are stored in a nonvolatile memory of the battery and comprise the last state of charge of the battery. Then measure the open-circuit voltage of the battery. Next, determine an instantaneous state of charge value on the basis of the measured open-circuit voltage. Then determine an estimated value of the state of charge of the battery as a function of both the stored last state of charge of the battery and the instantaneous state of charge value. Then initialize the state of charge in the battery management system using the determined estimated value of the state of charge. Finally, operate the battery management system with the initialized values.

PRIOR ART

A hybrid or electric vehicle uses electrical energy, which is stored in a battery, as an energy source. In order to operate such a battery, it is crucial in this case to be able to determine the state of the battery and the capacity of the battery for continued operation. For this purpose, the operation of the battery is managed using a battery management system. Battery packs using Li ions or NiMH technology, which consist of a large number of electrochemical cells connected in series and/or in parallel, are thus used in hybrid and electric vehicles. The battery management system is used to monitor the battery and, in addition to monitoring safety, is intended to ensure a service life which is as long as possible.

For battery management, the voltage of each individual cell is measured, together with the battery current and the battery temperature, and the state of charge and the state of ageing, for example, are estimated. In order to maximize the service life, it is necessary to know the instantaneous maximum power capacity of the battery at any time. If this power limit is exceeded, the ageing of the battery may be rapidly accelerated.

Methods which are active during operation are known for determining the battery state, in particular the state of charge (SOC). These methods are based on the relationship between the battery voltage and the SOC. However, the open-circuit voltage (OCV) is relevant here. Since the methods are active during operation, the measured voltage must be corrected by the voltage drop caused by the flowing current and the internal resistance of the battery. For this purpose, use is made of impedance models which contain errors. DE 100 980 A1 thus discloses a battery management system for determining the state of charge of the battery from the measurement of the internal resistance R_(i). The only time at which the correct OCV can be measured is during starting of the system following a pause, that is to say during initialization.

DISCLOSURE OF THE INVENTION

The invention relates to a method for determining the state of charge and the state of ageing of a battery, the state of charge being estimated by taking into account a state of charge stored last.

The invention accordingly proposes a method for initializing and operating a battery management system, which comprises the following steps of: starting the battery management system; reading battery variables which are stored in a nonvolatile memory of the battery and comprise the last state of charge SOC_(old) of the battery; measuring the open-circuit voltage OCV of the battery; determining an instantaneous state of charge value SOC_(inst) on the basis of the measured open-circuit voltage OCV; determining an estimated value of the state of charge SOC_(est) of the battery as a function of both the stored last state of charge SOC_(old) of the battery and the instantaneous state of charge value SOC_(inst); initializing the state of charge in the battery management system using the determined estimated value of the state of charge SOC_(est); and finally operating the battery management system with the initialized values.

The proposed inventive initialization of the battery management system advantageously not only uses a measured or calculated state of charge value SOC_(inst) but also takes into account, when estimating the state of charge, the state of charge which was stored last SOC_(old) and corresponds to the state of charge when the battery management system was last switched off.

The method may also comprise a plausibility check of the state detection by the battery management system. In this case, the plausibility check is based on comparing the instantaneously calculated state of charge value SOC_(inst) and the state of charge stored last SOC_(old). If the difference between these two values is above a predetermined threshold value, a system error or a defect is likely. The battery can be switched off in this case. Slight differences may also indicate ageing and may be taken into account for the SOC calculation by means of a factor during operation. This factor could influence the calculation of the SOC during operation of the battery. If the difference is below the predetermined threshold value, the battery management system is initialized with the determined estimator of the state of charge SOC_(est). Using the state of charge stored last SOC_(old) when shutting down the system thus makes it possible to monitor the safety of the battery and thus to immediately avoid damage to the battery on account of a defect when starting the system. Before the battery management system is switched off or before initialization, a further plausibility check of the values can also be carried out by comparing the calculated state of charge SOC_(inst) dependent on the open-circuit voltage with a current integral. Subtracting the compared values then reveals, like above, whether the battery should be switched off or whether the future integration for determining the SOC should be corrected with a factor on account of ageing and/or can be initialized.

The instantaneous state of charge SOC_(inst) can be determined in this case using the measured open-circuit voltage OCV and a family of characteristics dependent on the temperature/open-circuit voltage. This determination is thus based on the correctly measured OCV when starting the battery. Impedance models from the prior art are not required here.

In one implementation, the state of charge estimated value SOC_(est) can be determined by means of weighted averaging of the stored last state of charge SOC_(old) and the instantaneous state of charge SOC_(inst). This enables simple implementation of the consideration of the last state of charge SOC_(old) when switching off the battery.

In one exemplary embodiment, the state of charge stored last SOC_(old) and the instantaneous state of charge can be balanced during the weighted averaging operation. This allows particularly simple implementation of the consideration of the last state of charge SOC_(old).

In another exemplary embodiment, the weighting operation can be carried out in the weighted averaging operation on the basis of the period of time between the last storage of the state of charge SOC_(old) and the determination of the instantaneously calculated state of charge SOC_(inst). When determining the state of charge estimated value SOC_(est), this implementation makes it possible to take into account the time which has passed between the time when the system was last switched off and the time when the system is switched on.

During the initialization of the first measured value acquisition of the open-circuit voltage and current after the battery has been started, the battery variables stored last can be advantageously directly used as initialization values of the corresponding battery variables.

In addition, the determined battery characteristic variables comprising the state of charge of the battery can be stored in the nonvolatile memory of the battery while switching off and/or operating the battery management system and are therefore available to the battery management system when starting the system. Battery variables such as voltage, temperature and model parameters of a mathematical ageing process can also be stored in this case.

Furthermore, the state of charge estimated value SOC_(est) can be adapted over a plurality of measured value cycles during operation of the battery, that is to say the stored battery characteristic variables can be permanently concomitantly included in the calculation of the state of charge of the battery during operation. Since individual voltage or temperature measurements can also fail, the determination process can be continued over a plurality of driving cycles if the determined variables are stored when switching off the system.

The state of charge estimated value SOC_(est) can be adapted using a mathematical ageing model. The input variables of the ageing model may be in this case the measured voltage, the temperature, the integrated charging current and the state of charge SOC_(old) during the last operation of switching off the battery, and the standstill duration, the measured voltage, the temperature and the instantaneous state of charge SOC_(inst) when starting the system. Such mathematical ageing processes can be described using time series. The adaptation can also be carried out by means of known adaptation methods, for example Kalman filtering, which use only the stored values and the values measured and calculated during the system starts.

In summary, it can be stated that, according to the invention, variables determined and/or measured when switching off the battery management system, such as SOC, model parameters, voltage, temperature, etc., are stored in the nonvolatile memory of the battery, for example an EEPROM, optionally for each individual cell, and are available during the next system start. During the next system start, these variables are compared with the then instantaneous measurement variables and model variables calculated from the latter and are used to determine the SOC and model parameters. These values can either be used only to determine the initial values or can be used permanently. Depending on the availability of individual measured values when starting the system, the stored values can be used as a fallback solution. In this case, a plurality of fallback stages which also differ from cell to cell are possible.

The invention shall be explained in more detail by way of example below using drawings, in which:

FIG. 1 shows a diagram of a first exemplary embodiment of the method according to the invention;

FIG. 2 shows a diagram of a second exemplary embodiment of the method according to the invention.

FIG. 1 shows a diagram of a first exemplary embodiment of the present invention. The state of charge SOC_(old) is thus first of all stored when switching off or shutting down the battery management system BMS. Further relevant variables such as ageing characteristic variables, voltage and temperature may also be stored in the nonvolatile memory of the battery. In this case, it should be noted that the BMS also runs during charging of the battery.

As shown in FIG. 1, these values are read from the nonvolatile memory in steps S1 and S2 during the next system start. In this case, it is advantageously possible to determine whether the stored values are valid using a so-called “dirty bit”. If the BMS is reset, the memory values may not be able to be written. Setting or not setting the “dirty bit” then makes it possible to determine whether the values were able to be written correctly.

The open-circuit voltage OCV is then measured in step S3 without a load on the battery during the system start. The state of charge SOC_(inst) is then instantaneously determined in S4. This state of charge is based on instantaneous measured values and may also be called a state of charge measured value. In the present exemplary embodiment, it is determined or calculated using the measured open-circuit voltage and a family of characteristics dependent on the temperature/OCV. The family of characteristics plots the state of charge as a function of the measured open-circuit voltage. This is preferably carried out on the basis of temperature, that is to say the family of characteristics preferably comprises a plurality of graphs which correspond to the state of charge as a function of the open-circuit voltage at a particular temperature. The associated state of charge is thus automatically read or determined from a measured open-circuit voltage, preferably at a particular temperature, from the family of characteristics.

After the instantaneous state of charge value SOC_(inst) has been calculated or determined, a state of charge estimated value SOC_(est) is determined in step S5. This is effected using the stored state of charge SOC_(old) and the instantaneously determined state of charge SOC_(inst). In the simplest case, the initialization value for the SOC can be effected by averaging the stored SOC_(old) and the instantaneously determined SOC_(inst). In this case, the weighting operation can be carried out by means of balancing or the period of time between the system being switched off and the system being switched on can be taken into account during the weighting operation.

The battery management system is then initialized with this estimated value (see step S6) and the system is operated in step S7.

Furthermore, as long as the first measured value acquisitions of voltage and current are initialized, the memory values can be directly used as initialization values. If a measured voltage value is invalid, the latter can be initialized by the stored voltage in this case and can then be estimated with an unvarying difference from the average value of the valid measured voltage values. For this purpose, the offset of the voltage measurement could be determined and the voltage sensor output could then be corrected with this offset.

FIG. 2 shows a further exemplary embodiment of the method with extended functions. In an interposed step S8, the SOC memory value SOC_(old) is thus compared with the instantaneously calculated state of charge value SOC_(inst). If the stored state of charge SOC_(old) greatly differs from the calculated SOC_(inst), that is to say is above a predetermined threshold value, this indicates a system error or defect. This information can be used in step S9 to detect errors and for immediate switch-off or can first of all be subjected to a plausibility check by further measurements during operation. This further plausibility check can be effected, for example, by comparing the calculated SOC dependent on the OCV with a current integral.

If the difference is only slight, that is to say it is below a predetermined threshold value, the ageing of this cell could also be the cause. In this case, the estimated capacity of this cell can be corrected. In order to make this evaluation more robust, filtered differences may also be formed over a plurality of cycles. Another alternative is represented by more complex algorithms such as the Kalman filter in which the measured voltage, the temperature, the integrated charging current and the calculated SOC during shut-down, the standstill duration, the measured voltage, the temperature and the calculated SOC when starting the system could be used as input variables of an ageing model in this exemplary embodiment, and a correction of the cell capacity and the impedance model parameter form the output variables.

During operation, the change in the SOC is generally calculated by integrating the current and/or by evaluating the relationship between the OCV and the SOC. In this case, the OCV is determined by correcting the instantaneous cell voltage by the voltage drop caused by the flowing current and the cell impedance. This is also carried out in the present exemplary embodiment during operation of the battery.

Both the cell impedance and the cell capacity as well as the relationship between the OCV and the SOC are subject to an ageing process. The instantaneous state of ageing can be estimated by comparing the values, which were stored in the memory after shut-down, with the values which are measured and determined when starting the system. 

1. A method for initializing and operating a battery management system, comprising the steps of: starting the battery management system (S1); reading battery variables which are stored in a nonvolatile memory of the battery and comprise the last state of charge (SOC_(old)) of the battery (S2); measuring the open-circuit voltage of the battery (S3); determining an instantaneous state of charge value (SOC_(inst)) on the basis of the measured open-circuit voltage (S4); determining an estimated value of the state of charge (SOC_(est)) of the battery as a function of both the stored last state of charge (SOC_(old)) of the battery and the instantaneous state of charge value (SOC_(inst)) (S5); initializing the state of charge in the battery management system using the determined estimated value of the state of charge (SOC_(est)) (S6); and operating the battery management system with the initialized values (S7).
 2. The method as claimed in claim 1, wherein a plausibility check of the state detection by the battery management system is also carried out, comprising the steps of: comparing the instantaneous state of charge (SOC_(inst)) and the state of charge stored last (SOC_(old)) (S8); switching off the battery if the difference between the instantaneous state of charge (SOC_(inst)) and the state of charge stored last (SOC_(old)) is above a predetermined threshold value (S9); or initializing the battery management system with the determined estimated value of the state of charge (SOC_(est)) if the difference between the instantaneous state of charge (SOC_(inst)) and the state of charge stored last (SOC_(old)) is below the predetermined threshold value (S6).
 3. The method as claimed in claim 2, wherein, before the battery management system is switched off or before initialization, a further plausibility check of the values is also carried out by comparing the calculated state of charge (SOC_(inst)) dependent on the open-circuit voltage with a current integral.
 4. The method as claimed in one of the preceding claims, wherein the instantaneous state of charge (SOC_(inst)) is determined using the measured open-circuit voltage and a family of characteristics dependent on the temperature/open-circuit voltage.
 5. The method as claimed in one of the preceding claims, wherein the state of charge estimator (SOC_(est)) is determined by means of weighted averaging of the stored last state of charge (SOC_(old)) and the instantaneous state of charge (SOC_(inst)).
 6. The method as claimed in claim 5, wherein the state of charge stored last (SOC_(old)) and the instantaneous state of charge (SOC_(inst)) are balanced during the weighted averaging operation.
 7. The method as claimed in one of claims 1 to 4, wherein the weighting operation is carried out in the weighted averaging operation on the basis of the period of time between the last storage of the state of charge (SOC_(old)) and the determination of the instantaneous state of charge (SOC_(inst)).
 8. The method as claimed in one of the preceding claims, wherein, during the initialization of the first measured value acquisition of the open-circuit voltage and current after the battery has been started, the battery variables stored last are directly used as initialization values of the corresponding battery variables.
 9. The method as claimed in one of the preceding claims, wherein the determined battery characteristic variables comprising the state of charge of the battery are stored in the nonvolatile memory of the battery and/or battery variables such as voltage, temperature and model parameters of a mathematical ageing process are stored while switching off and/or operating the battery management system.
 10. The method as claimed in one of the preceding claims, wherein the state of charge estimator (SOC_(est)) is also adapted over a plurality of measured value cycles during operation of the battery.
 11. The method as claimed in claim 10, wherein the state of charge is adapted using the following input variables of an ageing model: the measured voltage, the temperature, the integrated charging current and the state of charge value (SOC_(old)) during the last operation of switching off the battery, and the standstill duration, the measured voltage, the temperature and the instantaneous state of charge (SOC_(inst)) when starting the system. 